﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using QLST_DAO;
using QLST_DTO;

namespace QLST_BUS
{
   public class HANGHOABUS
    {
       HANGHOADAO HHDAO = new HANGHOADAO();
        /// <summary>
        /// Hàm lấy danh sách sản phẩm
        /// </summary>
        /// <returns></returns>
        public DataTable GetSanPham()
        {
            return HHDAO.GetSanPham();
        }
        /// <summary>
        /// Lay chi tiet hang hoa theo MaSo
        /// </summary>
        /// <param name="MaHang"></param>
        /// <returns></returns>
        public HANG_HOA Get(int MaHang)
        {
            return HHDAO.Get(MaHang);

        }
    }
}
